import axios from "axios"
const { VITE_APP_BASEURL } = import.meta.env

const newAxios = axios.create({
    baseURL: VITE_APP_BASEURL,
    timeout: 5000
})
//请求拦截器
newAxios.interceptors.request.use((req)=>{
    req.headers.Authentication = localStorage.token
    return req
})
//响应拦截器




export default newAxios